//
//  InsuranceBankViewController.h
//  PhotoAnnotate
//
//  Created by Bassem El-Tamimi on 21.02.11.
//  Copyright 2011 ePapyrus GmbH. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Insurance;
@class InsuranceViewController;

@interface InsuranceBankViewController : UIViewController <UIAlertViewDelegate, UITextFieldDelegate, UIPickerViewDelegate> {
	Insurance *insuranceData;
	InsuranceViewController *insuranceViewController;
	
	NSMutableDictionary *bankRoutingNumbersDE;
	NSMutableDictionary *bankRoutingNumbersAT;
		
	IBOutlet UITextField *bankRoutingNumberField;
	IBOutlet UITextField *bankNameField;
	IBOutlet UITextField *bankAccountNumberField;
	IBOutlet UITextField *bankAccountNameField;
	
	IBOutlet UILabel *paymentPeriodLabel;
	IBOutlet UIPickerView *paymentPeriodPicker;
	
	NSArray *paymentPeriods;
	NSArray *paymentPeriodKeys;

}

@property (nonatomic, retain) Insurance *insuranceData;
@property (nonatomic, retain) InsuranceViewController  *insuranceViewController;

@property (nonatomic, retain) NSMutableDictionary *bankRoutingNumbersDE;
@property (nonatomic, retain) NSMutableDictionary *bankRoutingNumbersAT;

@property (nonatomic, retain) NSArray *paymentPeriods;
@property (nonatomic, retain) NSArray *paymentPeriodKeys;

- (void)saveFieldData:(id)sender;

@end
